const TOKENKEY = 'token_key'


function setTokenFun (token: any) {
  localStorage.setItem(TOKENKEY, token)
}
function getToken () {
  return localStorage.getItem(TOKENKEY)
}
function removeToken () {
  localStorage.removeItem(TOKENKEY)
}

export {setTokenFun, getToken, removeToken }